//package com.info.zhiduoduo.pay.controller;
//
//import com.info.zhiduoduo.common.constants.SmartResult;
//import com.info.zhiduoduo.common.validator.IntIn;
//import com.info.zhiduoduo.pay.formbean.dayspay.DaysAgentPayFormBean;
//import com.info.zhiduoduo.pay.formbean.dayspay.DaysQueryAgentPayFormBean;
//import com.info.zhiduoduo.pay.service.DaysPayService;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.validation.Valid;
//
//import io.swagger.annotations.ApiOperation;
//
//@RestController
//@RequestMapping("dayspay")
//public class DaysPayController {
//
//	@Autowired
//	DaysPayService daysPayService;
//
//	@ApiOperation("得仕代付")
//	@PostMapping("/agentPay")
//	public SmartResult agentPay(@Valid @RequestBody DaysAgentPayFormBean formBean) {
//		return daysPayService.agentPay(formBean);
//	}
//
//	@ApiOperation("得仕代付查询结果")
//	@PostMapping("/queryAgentPay")
//	public SmartResult queryAgentPay(@Valid @RequestBody DaysQueryAgentPayFormBean formBean) {
//		return daysPayService.queryAgentPay(formBean);
//	}
//
//	@ApiOperation("得仕九歌账户余额查询")
//	@GetMapping("/queryMerchantBalance")
//	public SmartResult queryMerchantBalance(@IntIn(value = {1, 2, 3, 6, 8}, message = "商户号不正确") @RequestParam int daysMerchantId) {
//		return daysPayService.queryMerchantBalance(daysMerchantId);
//	}
//}
